class CreateContacts < ActiveRecord::Migration
  def self.up
    create_table :contacts do |t|
      t.integer :person_id, :null => false, :options => "CONSTRAINT fk_contact_people REFERENCES people(id)"
      t.string :address, :null => false
      t.string :address, :null => false
      t.string :state, :null => false
      t.string :zip, :null => false
      t.string :email, :null => false
      t.string :phone, :null => false

      t.timestamps
    end
  end

  def self.down
    drop_table :contacts
  end
end
